package com.authService.mapper;

import com.authService.entity.SysPermissionEntity;
import com.authService.pojo.req.PermissionPageReqDTO;
import com.authService.pojo.res.PermissionPageResDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 系统权限表 Mapper 接口
 * </p>
 *
 * @author xiaopeng
 * @since 2024-09-22
 */
public interface SysPermissionMapper extends BaseMapper<SysPermissionEntity> {

    /**
     * 出現权限列表
     * @param reqDTO
     * @return
     */
    List<PermissionPageResDTO> selectPermissionList(@Param("params") PermissionPageReqDTO reqDTO);
}
